/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GPSReader;

//import java.util.logging.Level;

import java.util.ArrayList;
import gpsmap.*;

//import java.util.logging.Logger;

/**
 *  it runs the thread for gps reciever
 * @author Amirhossein Tayarani
 */
public class CurrentPosition {

    double longitude;
    double latitude;

    public static void main() {
        try {
            GPSConnectionString gps = new GPSConnectionString(new ArrayList());
//            RouteDrawer rdThread = new RouteDrawer();
            
            Thread t = new Thread(gps);
//            Thread tt = new Thread(rdThread);
            t.start();
            //            tt.start();
//           GPSConnectionString.run();
//            t.sleep(5000);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

}
